home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / p_man / cat3 / complib / strtri.z / strtri
Text File  |  1998-10-30  |  2KB  |  67 lines

  1.  
  2.  
  3.  
  4. SSSSTTTTRRRRTTTTRRRRIIII((((3333FFFF))))                                                          SSSSTTTTRRRRTTTTRRRRIIII((((3333FFFF))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      STRTRI - compute the inverse of a real upper or lower triangular matrix A
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      SUBROUTINE STRTRI( UPLO, DIAG, N, A, LDA, INFO )
  13.  
  14.          CHARACTER      DIAG, UPLO
  15.  
  16.          INTEGER        INFO, LDA, N
  17.  
  18.          REAL           A( LDA, * )
  19.  
  20. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  21.      STRTRI computes the inverse of a real upper or lower triangular matrix A.
  22.  
  23.      This is the Level 3 BLAS version of the algorithm.
  24.  
  25.  
  26. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  27.      UPLO    (input) CHARACTER*1
  28.              = 'U':  A is upper triangular;
  29.              = 'L':  A is lower triangular.
  30.  
  31.      DIAG    (input) CHARACTER*1
  32.              = 'N':  A is non-unit triangular;
  33.              = 'U':  A is unit triangular.
  34.  
  35.      N       (input) INTEGER
  36.              The order of the matrix A.  N >= 0.
  37.  
  38.      A       (input/output) REAL array, dimension (LDA,N)
  39.              On entry, the triangular matrix A.  If UPLO = 'U', the leading
  40.              N-by-N upper triangular part of the array A contains the upper
  41.              triangular matrix, and the strictly lower triangular part of A is
  42.              not referenced.  If UPLO = 'L', the leading N-by-N lower
  43.              triangular part of the array A contains the lower triangular
  44.              matrix, and the strictly upper triangular part of A is not
  45.              referenced.  If DIAG = 'U', the diagonal elements of A are also
  46.              not referenced and are assumed to be 1.  On exit, the
  47.              (triangular) inverse of the original matrix, in the same storage
  48.              format.
  49.  
  50.      LDA     (input) INTEGER
  51.              The leading dimension of the array A.  LDA >= max(1,N).
  52.  
  53.      INFO    (output) INTEGER
  54.              = 0: successful exit
  55.              < 0: if INFO = -i, the i-th argument had an illegal value
  56.              > 0: if INFO = i, A(i,i) is exactly zero.  The triangular matrix
  57.              is singular and its inverse can not be computed.
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.